Skip to content

Conversation

@DustinTurska
Copy link
Contributor

@DustinTurska DustinTurska commented Dec 5, 2024

Set CTA for Engine Playground to "Deploy an Instance"

Problem solved

Update for DASH-535

Set CTA for Engine Playground to "Deploy an Instance"


PR-Codex overview

This PR focuses on adding deployLink properties and corresponding links to various pages in the playground-web application, enhancing user navigation to deployment and documentation resources.

Detailed summary

  • Added deployLink to page.tsx files for webhooks, minting, and airdrop sections.
  • Updated the EngineAPIHeader component to include a new deployLink prop.
  • Removed hardcoded Deploy an Instance button from EngineAPIHeader and replaced it with a dynamic link using props.deployLink.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@changeset-bot
Copy link

changeset-bot bot commented Dec 5, 2024

⚠️ No Changeset found

Latest commit: 015293e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Dec 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 8, 2024 8:37pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Dec 8, 2024 8:37pm
thirdweb-www ⬜️ Skipped (Inspect) Dec 8, 2024 8:37pm
wallet-ui ⬜️ Skipped (Inspect) Dec 8, 2024 8:37pm

@graphite-app
Copy link
Contributor

graphite-app bot commented Dec 5, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@codecov
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.63%. Comparing base (5fd5186) to head (015293e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5627   +/-   ##
=======================================
  Coverage   50.63%   50.63%           
=======================================
  Files        1091     1091           
  Lines       57100    57100           
  Branches     4589     4589           
=======================================
  Hits        28914    28914           
  Misses      27470    27470           
  Partials      716      716           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 5fd5186
packages 47.09% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 41.13 KB (0%) 823 ms (0%) 781 ms (-39.25% 🔽) 1.7 s
thirdweb (cjs) 104.48 KB (0%) 2.1 s (0%) 2.5 s (+10.95% 🔺) 4.6 s
thirdweb (minimal + tree-shaking) 4.37 KB (0%) 88 ms (0%) 128 ms (+46.98% 🔺) 215 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 44 ms (-61.01% 🔽) 54 ms
thirdweb/react (minimal + tree-shaking) 16.99 KB (0%) 340 ms (0%) 1.3 s (+223.43% 🔺) 1.7 s

@gregfromstl gregfromstl added the merge-queue Adds the pull request to Graphite's merge queue. label Dec 8, 2024
Copy link
Contributor

gregfromstl commented Dec 8, 2024

Merge activity

  • Dec 8, 3:33 PM EST: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 8, 3:33 PM EST: A user added this pull request to the Graphite merge queue.
  • Dec 8, 3:38 PM EST: A user merged this pull request with the Graphite merge queue.

gregfromstl pushed a commit that referenced this pull request Dec 8, 2024
Set CTA for Engine Playground to "Deploy an Instance"

## Problem solved
Update for [DASH-535](https://linear.app/thirdweb/issue/DASH-535/make-deploy-an-instance-the-primary-cta-in-playground)

Set CTA for Engine Playground to "Deploy an Instance"

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding `deployLink` properties to various pages and updating the `EngineAPIHeader` component to include a dynamic link for deploying instances.

### Detailed summary
- Added `deployLink` to `webhooks`, `minting`, and `airdrop` pages.
- Updated `EngineAPIHeader` component to include a button linking to `deployLink`.
- Removed hardcoded deploy link from the `EngineAPIHeader`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@gregfromstl gregfromstl force-pushed the dustin/playground_updates branch from 39a1436 to 6b246d1 Compare December 8, 2024 20:33
@vercel vercel bot temporarily deployed to Preview – docs-v2 December 8, 2024 20:33 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb-www December 8, 2024 20:33 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 8, 2024 20:33 Inactive
Set CTA for Engine Playground to "Deploy an Instance"

## Problem solved
Update for [DASH-535](https://linear.app/thirdweb/issue/DASH-535/make-deploy-an-instance-the-primary-cta-in-playground)

Set CTA for Engine Playground to "Deploy an Instance"

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily updates the `deployLink` across multiple pages and modifies the `EngineAPIHeader` component to dynamically include the `deployLink` prop, enhancing the deployment functionality in the playground web application.

### Detailed summary
- Added `deployLink` prop to `page.tsx` files for `webhooks`, `minting`, and `airdrop`.
- Updated `docsLink` for `minting` and `airdrop` pages to point to specific API documentation.
- Modified `EngineAPIHeader` component to utilize the `deployLink` prop for dynamic linking.
- Removed hardcoded `Deploy an Instance` button from `EngineAPIHeader`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@gregfromstl gregfromstl force-pushed the dustin/playground_updates branch from 6b246d1 to 015293e Compare December 8, 2024 20:35
@graphite-app graphite-app bot merged commit 015293e into main Dec 8, 2024
31 checks passed
@graphite-app graphite-app bot deleted the dustin/playground_updates branch December 8, 2024 20:38
@vercel vercel bot temporarily deployed to Production – thirdweb-www December 8, 2024 20:38 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 December 8, 2024 20:38 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui December 8, 2024 20:38 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-queue Adds the pull request to Graphite's merge queue. Playground Changes involving the Playground codebase.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants